; Entry.asm
; contains the code for the action entry stub

EXTRN ActionIntermediate:PROC

.code

ASMEntry proc
	; rdi = start params
	; rsi = ptr to entity
	
	; call the intermediary function
	mov		rcx, rsi
	mov		rdx, rdi
	sub		rsp, 16				; create stack shadow space
	mov		rax, ActionIntermediate
	call	rax	

ASMEntry endp

end